package com.rocbrid.vo.req;

import jakarta.validation.constraints.Email;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class UserUpdateVo {

    private Integer id;//主键ID

    @NotNull(message = "用户名不能为空")
    @NotBlank(message = "用户名不能为空")
    private String username;//用户名
    @NotNull(message = "昵称不能为空")
    @NotBlank(message = "昵称不能为空")
    private String nickname;//昵称
    @Email(message = "邮箱格式不正确")
    private String email;//邮箱
}
